<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
	<link rel="stylesheet" href="./css/queqinguanli.css">
	<script type="text/javascript" src="./js/jquery-3.2.1.min.js"></script>
	<script type="text/javascript" src="./js/queqinguanli.js"></script>
</head>


<div class="contrainer">
	<div class="wrap">
		<div class="header">
			<p>学生缺勤信息</p>
		</div>
		<div class="content">
			<table class="table">
				<thead class="text-primary">
				<th>序号</th>
				<th>日期</th>
				<th>学号</th>
				<th>姓名</th>
				<th>院系</th>
				<th>宿舍</th>
				<th>事因</th>
				<th>记录人</th>
				<th>操作</th>

				<tbody>
			<c:forEach items="${list}" var="absent" varStatus="status">
				<tr>
					<td>${status.index+1}</td>
					<td>${absent.time}</td>
					<td>${absent.no}</td>
					<td>${absent.name}</td>
					<td>${absent.major}</td>
					<td>${absent.d}</td>
					<td  class="text-primary">${absent.thing}</td>
					<td>${absent.t}</td>
					<td>
						<a href="absentConfirm.do?id=${absent.id}&time=${absent.time}&no=${absent.no}&name=${absent.name}&major=${absent.major}&thing=${absent.thing}&d=${absent.d}&t=${absent.t}">确认</a>
						<a href="absentDeny.do?id=${absent.id}">删除</a>
					</td>
				</tr>
			</c:forEach>

				</tbody>
			</table>
		</div>
	</div>
</div>
</form>
</body>
</html>